home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1865 / 1865.xpi / chrome / adblockplus.jar / content / ui / fennecSubscription.xul < prev    next >
Extensible Markup Language  |  2010-01-07  |  2KB  |  78 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- ***** BEGIN LICENSE BLOCK *****
  4.      - Version: MPL 1.1
  5.      -
  6.      - The contents of this file are subject to the Mozilla Public License Version
  7.      - 1.1 (the "License"); you may not use this file except in compliance with
  8.      - the License. You may obtain a copy of the License at
  9.      - http://www.mozilla.org/MPL/
  10.      -
  11.      - Software distributed under the License is distributed on an "AS IS" basis,
  12.      - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13.      - for the specific language governing rights and limitations under the
  14.      - License.
  15.      -
  16.      - The Original Code is Adblock Plus.
  17.      -
  18.      - The Initial Developer of the Original Code is
  19.      - Wladimir Palant.
  20.      - Portions created by the Initial Developer are Copyright (C) 2006-2009
  21.      - the Initial Developer. All Rights Reserved.
  22.      -
  23.      - Contributor(s):
  24.      -  Fabrice Desr├⌐
  25.      -
  26.      - ***** END LICENSE BLOCK ***** -->
  27.  
  28. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  29. <?xml-stylesheet href="chrome://adblockplus/skin/subscription.css" type="text/css"?>
  30.  
  31. <!DOCTYPE dialog [
  32. <!ENTITY % subst SYSTEM "chrome://adblockplus/locale/subscription.dtd">
  33. <!ENTITY % prompts SYSTEM "chrome://browser/locale/prompt.dtd">
  34. %subst;
  35. %prompts;
  36. ]>
  37.  
  38. <dialog
  39.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  40.     id="abpEditSubscription">
  41.  
  42. <keyset>
  43.     <key keycode="VK_RETURN" command="abp-subscription-cmd-ok"/>
  44.     <key keycode="VK_ESCAPE" command="abp-subscription-cmd-cancel"/>
  45. </keyset>
  46. <commandset>
  47.     <command id="abp-subscription-cmd-ok"/>
  48.     <command id="abp-subscription-cmd-cancel" oncommand="document.getElementById('abpEditSubscription').close();"/>
  49. </commandset>
  50.  
  51. <label value="&dialog.newtitle;"/>
  52.  
  53. <grid class="prompt-message">
  54.     <columns>
  55.         <column/>
  56.         <column flex="1"/> 
  57.     </columns>
  58.     <rows>
  59.         <row align="center">
  60.             <label value="&title.label;" control="abp-subscription-title"/>
  61.             <description id="abp-subscription-title"/>
  62.         </row>
  63.         <row>
  64.             <label value="&location.label;" control="abp-subscription-url"/>
  65.             <scrollbox orient="vertical">
  66.                  <description id="abp-subscription-url"/>
  67.             </scrollbox>
  68.         </row>
  69.     </rows>
  70. </grid>
  71.  
  72. <hbox>
  73.      <button id="abp-subscription-btn-ok" class="button-dark" label="&ok.label;" command="abp-subscription-cmd-ok"/>
  74.      <button class="button-dark" label="&cancel.label;" command="abp-subscription-cmd-cancel"/>
  75. </hbox>
  76.  
  77. </dialog>
  78.